package com.taskcollection.serviceInterface;

import com.taskcollection.bean.TeacherBean;

import java.util.List;

/**
 * Created by Administrator on 2016/8/13 0013.
 */
public interface TeacherServiceInterface {
    boolean reg(TeacherBean tea);
    TeacherBean login(String phone,String passwd);
    boolean checkLogin(String phone,String passwd);
    boolean checkPhone(String phone);
    TeacherBean getById(String id);
    List<TeacherBean> getAll();
}
